<template>
	<view class="wrap">
		<u-swiper @click='handSwIndex' name='imgUrl' :list="list" :title='true' indicator-pos='bottomRight' height='290'></u-swiper>
	</view>
</template>

<script>
	export default {
		props: {
			list: {
				type: Array,
				default: () => [],
			}
		},
		data() {
			return {};
		},
		methods: {
			handSwIndex(index) {
				this.$emit('handSwIndex', index)
			}
		}
	}
</script>

<style lang="scss">
	.wrap {
		width: 100%;
	}
</style>
